import request from '@/utils/request'

// 查询列表信息
export function merchantDetailList(query) {
  return request({
    url: '/md/transRecord/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function merchantTransferDetail(transId) {
  return request({
    url: '/md/transRecord/' + transId,
    method: 'get'
  })
}

// 修改状态
export function changeMerchantTransferStatus(data) {
  return request({
    url: '/md/transRecord/updateStatus',
    method: 'put',
    data: data
  })
}